
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>动态订单扫码支付接口 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="ding-dan-cha-xun-jie-kou.html" />
    
    
    <link rel="prev" href="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html" />
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    小蜜蜂支付接口文档
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="jie-kou-shuo-ming-1-2-1-sign-qian-ming.html">
            
                <a href="jie-kou-shuo-ming-1-2-1-sign-qian-ming.html">
            
                    
                    接口说明  Sign 签名 
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html">
            
                <a href="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html">
            
                    
                    刷卡支付(授权二维码) 
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.4" data-path="dong-tai-ding-dan-sao-ma-zhi-fu-jie-kou.html">
            
                <a href="dong-tai-ding-dan-sao-ma-zhi-fu-jie-kou.html">
            
                    
                    动态订单扫码支付接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="ding-dan-cha-xun-jie-kou.html">
            
                <a href="ding-dan-cha-xun-jie-kou.html">
            
                    
                    H5支付/小程序支付接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="zhi-fu-jie-guo-yi-bu-tong-zhi.html">
            
                <a href="zhi-fu-jie-guo-yi-bu-tong-zhi.html">
            
                    
                    支付结果异步通知
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="cha-xun-jie-kou.html">
            
                <a href="cha-xun-jie-kou.html">
            
                    
                    订单查询接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="ding-dan-che-xiao-jie-kou-paycancel.html">
            
                <a href="ding-dan-che-xiao-jie-kou-paycancel.html">
            
                    
                    订单撤销接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="ding-dan-guan-bi-jie-kou.html">
            
                <a href="ding-dan-guan-bi-jie-kou.html">
            
                    
                    订单关闭接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="tui-kuan-jie-kou.html">
            
                <a href="tui-kuan-jie-kou.html">
            
                    
                    退款接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="tui-kuan-cha-xun-jie-kou.html">
            
                <a href="tui-kuan-cha-xun-jie-kou.html">
            
                    
                    退款查询接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="wei-xin-zi-shang-hu-zhi-fu-pei-zhi-jie-kou.html">
            
                <a href="wei-xin-zi-shang-hu-zhi-fu-pei-zhi-jie-kou.html">
            
                    
                    微信子商户支付配置接口
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="wei-xin-zi-shang-hu-zhi-fu-mu-lu-pei-zhi-jie-kou.html">
            
                <a href="wei-xin-zi-shang-hu-zhi-fu-mu-lu-pei-zhi-jie-kou.html">
            
                    
                    微信子商户支付目录配置接口
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >动态订单扫码支付接口</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="&#x52A8;&#x6001;&#x8BA2;&#x5355;&#x626B;&#x7801;&#x652F;&#x4ED8;&#x63A5;&#x53E3;">&#x52A8;&#x6001;&#x8BA2;&#x5355;&#x626B;&#x7801;&#x652F;&#x4ED8;&#x63A5;&#x53E3;</h1>
<p><strong>&#x8BE5;&#x63A5;&#x53E3;&#x7528;&#x4E8E;&#x7528;&#x6237;&#x626B;&#x63CF;&#x5546;&#x6237;&#x5C55;&#x793A;&#x5728;&#x5404;&#x79CD;&#x573A;&#x666F;&#x7684;&#x4E8C;&#x7EF4;&#x7801;&#x8FDB;&#x884C;&#x652F;&#x4ED8;&#xFF0C;&#x6CE8;&#x610F;&#x652F;&#x4ED8;&#x7ED3;&#x679C;&#x5F02;&#x6B65;&#x901A;&#x77E5;&#x63A5;&#x53E3;&#x590D;&#x7528;</strong>cb</p>
<p>&#x7531;&#x4E8E;&#x5E95;&#x5C42;&#x652F;&#x4ED8;&#x5B9D;&#x6E20;&#x9053;&#x4E0D;&#x5141;&#x8BB8;&#x52A8;&#x6001;&#x8BA2;&#x5355;&#x626B;&#x7801;&#x652F;&#x4ED8;&#x5728;&#x9884;&#x4E0B;&#x5355;&#x73AF;&#x8282;&#x5173;&#x95ED;&#xFF0C;&#x652F;&#x4ED8;&#x5B9D;&#x5728;&#x626B;&#x7801;&#x521B;&#x5355;&#x540E;&#xFF0C;&#x8F93;&#x5165;&#x652F;&#x4ED8;&#x5BC6;&#x7801;&#x652F;&#x4ED8;&#x524D;&#xFF0C;&#x8C03;&#x7528;&#x5173;&#x5355;&#x63A5;&#x53E3;&#xFF0C;&#x53EF;&#x4EE5;&#x5C06;&#x8BA2;&#x5355;&#x5173;&#x95ED;&#x3002;</p>
<p>&#x8BF7;&#x6C42;&#x53C2;&#x6570;POST json &#x5185;&#x5BB9;&#x4F53;&#x8FDB;&#x884C;&#x8BF7;&#x6C42;</p>
<p>POST json &#x5185;&#x5BB9;&#x4F53;&#x8FDB;&#x884C;&#x8BF7;&#x6C42;</p>
<table>
<thead>
<tr>
<th style="text-align:left">&#x5B57;&#x6BB5;&#x540D;</th>
<th style="text-align:left">&#x53D8;&#x91CF;&#x540D;</th>
<th style="text-align:left">&#x662F;&#x5426;&#x5FC5;&#x586B;</th>
<th style="text-align:left">&#x7C7B;&#x578B;</th>
<th style="text-align:left">&#x8BF7;&#x660E;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">&#x63A5;&#x53E3;&#x7C7B;</td>
<td style="text-align:left">Method</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">String(8 )</td>
<td style="text-align:left">DynamicOrder</td>
</tr>
<tr>
<td style="text-align:left">&#x5B57;&#x7B26;&#x96C6;</td>
<td style="text-align:left">Charset</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">String(8 )</td>
<td style="text-align:left">&#x53EA;&#x652F;&#x6301; UTF-8</td>
</tr>
<tr>
<td style="text-align:left">&#x7B7E;&#x540D;&#x65B9; &#x5F0F;</td>
<td style="text-align:left">SignType</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">String(8 )</td>
<td style="text-align:left">&#x7B7E;&#x540D;&#x7C7B;&#x578B;&#xFF0C;&#x53D6;&#x503C;:MD5 &#x9ED8;&#x8BA4;:MD5</td>
</tr>
<tr>
<td style="text-align:left">&#x95E8;&#x5E97;&#x53F7;</td>
<td style="text-align:left">ShopNo</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">String(3 2)</td>
<td style="text-align:left">&#x5546;&#x6237;&#x53F7;&#xFF0C;&#x7531;&#x5C0F;&#x871C;&#x8702;&#x5546;&#x5BB6;&#x5E73;&#x53F0;&#x5206;&#x914D;</td>
</tr>
<tr>
<td style="text-align:left">&#x968F;&#x673A;&#x5B57; &#x7B26;&#x4E32;</td>
<td style="text-align:left">NonceStr</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">String(3 2)</td>
<td style="text-align:left">&#x968F;&#x673A;&#x5B57;&#x7B26;&#x4E32;,&#x4E0D;&#x957F;&#x4E8E; 32 &#x4F4D;</td>
</tr>
<tr>
<td style="text-align:left">&#x5546;&#x6237;&#x8BA2; &#x5355;&#x53F7;</td>
<td style="text-align:left">OutTradeNo</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">String(3 2)</td>
<td style="text-align:left">&#x5546;&#x6237;&#x7CFB;&#x7EDF;&#x5185;&#x90E8;&#x7684;&#x8BA2;&#x5355;&#x53F7; ,5 &#x5230; 32 &#x4E2A;&#x5B57;&#x7B26;&#x3001; &#x53EA;&#x80FD;&#x5305;&#x542B;&#x5B57;&#x6BCD;&#x6570;&#x5B57;&#x6216;&#x8005; &#x4E0B;&#x5212;&#x7EBF;&#xFF0C;&#x533A;&#x5206;&#x5927;&#x5C0F;&#x5199;&#xFF0C;&#x786E;&#x4FDD;&#x5728;&#x5546;&#x6237; &#x7CFB;&#x7EDF;&#x552F;&#x4E00;</td>
</tr>
<tr>
<td style="text-align:left">&#x5546;&#x54C1;&#x63CF; &#x8FF0;</td>
<td style="text-align:left">Body</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">String(1 27)</td>
<td style="text-align:left">&#x5546;&#x54C1;&#x63CF;&#x8FF0;</td>
</tr>
<tr>
<td style="text-align:left">&#x603B;&#x91D1;&#x989D;</td>
<td style="text-align:left">TotalAmount</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">Int</td>
<td style="text-align:left">&#x603B;&#x91D1;&#x989D;&#xFF0C;&#x4EE5;&#x5206;&#x4E3A;&#x5355;&#x4F4D;&#xFF0C;&#x4E0D;&#x5141;&#x8BB8;&#x5305;&#x542B; &#x4EFB;&#x4F55;&#x5B57;&#x3001;&#x7B26;&#x53F7;</td>
</tr>
<tr>
<td style="text-align:left">&#x4EA4;&#x6613;&#x7C7B; &#x578B;</td>
<td style="text-align:left">ChannelType</td>
<td style="text-align:left">&#x5426;</td>
<td style="text-align:left">String(3 2)</td>
<td style="text-align:left">WX&#xFF1A;&#x5FAE;&#x4FE1;&#x652F;&#x4ED8; ALI&#xFF1A;&#x652F;&#x4ED8;&#x5B9D; QQ&#xFF1A;&#x624B;&#x673A;QQ&#xFF08;&#x6682;&#x672A;&#x5F00;&#x653E;&#xFF09; JD&#xFF1A;&#x4EAC;&#x4E1C;&#x94B1;&#x5305;&#xFF08;&#x6682;&#x672A;&#x5F00;&#x653E;&#xFF09;</td>
</tr>
<tr>
<td style="text-align:left">&#x7B7E;&#x540D;</td>
<td style="text-align:left">Sign</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">string</td>
</tr>
</tbody>
</table>
<p>&#x8FD4;&#x56DE;&#x53C2;&#x6570; &#x8FD4;&#x56DE;&#x7ED3;&#x679C;</p>
<table>
<thead>
<tr>
<th style="text-align:left">&#x9519;&#x8BEF;&#x7801;</th>
<th style="text-align:left">Code</th>
<th style="text-align:left">&#x662F;</th>
<th style="text-align:left">String(1 28)</th>
<th style="text-align:left">&#x5F53;Code&gt;0&#x65F6;&#xFF0C;&#x4EA4;&#x6613;&#x6709;&#x9519;&#x8BEF;</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">&#x9519;&#x8BEF;&#x4FE1;&#x606F;</td>
<td style="text-align:left">Msg</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left">String(3 2)</td>
<td style="text-align:left">&#x9519;&#x8BEF;&#x6D88;&#x606F;</td>
</tr>
<tr>
<td style="text-align:left">&#x6570;&#x636E;&#x4F53;</td>
<td style="text-align:left">Data</td>
<td style="text-align:left">&#x662F;</td>
<td style="text-align:left"></td>
</tr>
</tbody>
</table>
<p>Data&#x6570;&#x636E;&#x4F53;</p>
<table>
<thead>
<tr>
<th style="text-align:left"><strong>&#x53C2;&#x6570;&#x540D;</strong></th>
<th style="text-align:left"><strong>&#x53C2;&#x6570;&#x63CF;&#x8FF0;</strong></th>
<th style="text-align:left"><strong>&#x6570;&#x636E;&#x7C7B;&#x578B;</strong></th>
<th style="text-align:left"><strong>&#x957F;&#x5EA6;</strong></th>
<th style="text-align:left"><strong>&#x51FA;&#x73B0;&#x8981;&#x6C42;</strong></th>
<th style="text-align:left"><strong>&#x793A;&#x4F8B;</strong></th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align:left">RespInfo</td>
<td style="text-align:left">&#x8FD4;&#x56DE;&#x7801;&#x7EC4;&#x4EF6;</td>
<td style="text-align:left">[&#x8FD4;&#x56DE;&#x7801;]&#x5BF9;&#x8C61;</td>
<td style="text-align:left"></td>
<td style="text-align:left">M</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">OutTradeNo</td>
<td style="text-align:left">&#x5916;&#x90E8;&#x4EA4;&#x6613;&#x53F7;&#x3002;&#x7531;&#x5408;&#x4F5C;&#x65B9;&#x7CFB;&#x7EDF;&#x751F;&#x6210;&#xFF0C;&#x53EA;&#x80FD;&#x5305;&#x542B;&#x5B57;&#x6BCD;&#x3001;&#x6570;&#x5B57;&#x3001;&#x4E0B;&#x5212;&#x7EBF;&#xFF1B;&#x9700;&#x4FDD;&#x8BC1;&#x5408;&#x4F5C;&#x65B9;&#x7CFB;&#x7EDF;&#x4E0D;&#x91CD;&#x590D;&#x3002;</td>
<td style="text-align:left">String</td>
<td style="text-align:left">64</td>
<td style="text-align:left">ME</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
<td style="text-align:left"></td>
<td style="text-align:left">&#x4E0B;&#x9762;&#x7684;&#x53C2;&#x6570;&#x4EC5;ResultStatus=S&#x624D;&#x8FD4;&#x56DE;</td>
</tr>
<tr>
<td style="text-align:left">OrderNo</td>
<td style="text-align:left">&#x7F51;&#x5546;&#x652F;&#x4ED8;&#x8BA2;&#x5355;&#x53F7;</td>
<td style="text-align:left">String</td>
<td style="text-align:left">64</td>
<td style="text-align:left">M</td>
<td style="text-align:left"></td>
</tr>
<tr>
<td style="text-align:left">QrCodeUrl</td>
<td style="text-align:left">&#x5F53;&#x524D;&#x9884;&#x4E0B;&#x5355;&#x8BF7;&#x6C42;&#x751F;&#x6210;&#x7684;&#x4E8C;&#x7EF4;&#x7801;&#x7801;&#x4E32;&#xFF0C;&#x53EF;&#x4EE5;&#x7528;&#x4E8C;&#x7EF4;&#x7801;&#x751F;&#x6210;&#x5DE5;&#x5177;&#x6839;&#x636E;&#x8BE5;&#x7801;&#x4E32;&#x503C;&#x751F;&#x6210;&#x5BF9;&#x5E94;&#x7684;&#x4E8C;&#x7EF4;&#x7801;</td>
<td style="text-align:left">String</td>
<td style="text-align:left">1024</td>
<td style="text-align:left">M</td>
<td style="text-align:left"><a href="https://qr.alipay.com/bavh4wjlxf12tper3a" target="_blank">https://qr.alipay.com/bavh4wjlxf12tper3a</a>&#x6216;URl&#xFF1A;weixin&#xFF1A;//wxpay/s/An4baqw</td>
</tr>
</tbody>
</table>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="shua-qia-zhi-4ed828-shou-quan-er-wei-780129.html" class="navigation navigation-prev " aria-label="Previous page: 刷卡支付(授权二维码) ">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="ding-dan-cha-xun-jie-kou.html" class="navigation navigation-next " aria-label="Next page: H5支付/小程序支付接口">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"动态订单扫码支付接口","level":"1.4","depth":1,"next":{"title":"H5支付/小程序支付接口","level":"1.5","depth":1,"path":"ding-dan-cha-xun-jie-kou.md","ref":"ding-dan-cha-xun-jie-kou.md","articles":[]},"previous":{"title":"刷卡支付(授权二维码) ","level":"1.3","depth":1,"path":"shua-qia-zhi-4ed828-shou-quan-er-wei-780129.md","ref":"shua-qia-zhi-4ed828-shou-quan-er-wei-780129.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":[],"pluginsConfig":{"highlight":{},"search":{},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"fontsettings":{"theme":"white","family":"sans","size":2},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"dong-tai-ding-dan-sao-ma-zhi-fu-jie-kou.md","mtime":"2019-05-28T02:45:18.000Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2019-05-31T01:17:36.974Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

